package com.hyj.service.impl;


import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;


import com.hyj.entity.Students;
import com.hyj.entity.Teachers;
import com.hyj.mapper.ComMapper;
import com.hyj.service.ComService;


/**
 * 刷卡实现类
 * @author 智宇群
 *
 */
@Service
public class ComServiceImpl implements ComService {

	
	
	@Autowired
	 private ComMapper comMapper;
	@Override
	public Students getStuAllNo(String CardNo) {
		// TODO Auto-generated method stub
		return comMapper.getStuAllNo(CardNo);
	}

	@Override
	public Teachers getTeaAllNo(String CardNo) {
		// TODO Auto-generated method stub
		return comMapper.getTeaAllNo(CardNo);
	}

	

}
